home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / sgetrs.z / sgetrs
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSGGGGEEEETTTTRRRRSSSS((((3333SSSS))))                                                          SSSSGGGGEEEETTTTRRRRSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SGETRS - solve a system of linear equations A * X = B or A' * X = B with
  10.      a general N-by-N matrix A using the LU factorization computed by SGETRF
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SGETRS( TRANS, N, NRHS, A, LDA, IPIV, B, LDB, INFO )
  14.  
  15.          CHARACTER      TRANS
  16.  
  17.          INTEGER        INFO, LDA, LDB, N, NRHS
  18.  
  19.          INTEGER        IPIV( * )
  20.  
  21.          REAL           A( LDA, * ), B( LDB, * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      SGETRS solves a system of linear equations A * X = B or A' * X = B with a
  38.      general N-by-N matrix A using the LU factorization computed by SGETRF.
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      TRANS   (input) CHARACTER*1
  42.              Specifies the form of the system of equations:
  43.              = 'N':  A * X = B  (No transpose)
  44.              = 'T':  A'* X = B  (Transpose)
  45.              = 'C':  A'* X = B  (Conjugate transpose = Transpose)
  46.  
  47.      N       (input) INTEGER
  48.              The order of the matrix A.  N >= 0.
  49.  
  50.      NRHS    (input) INTEGER
  51.              The number of right hand sides, i.e., the number of columns of
  52.              the matrix B.  NRHS >= 0.
  53.  
  54.      A       (input) REAL array, dimension (LDA,N)
  55.              The factors L and U from the factorization A = P*L*U as computed
  56.              by SGETRF.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSGGGGEEEETTTTRRRRSSSS((((3333SSSS))))                                                          SSSSGGGGEEEETTTTRRRRSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LDA     (input) INTEGER
  75.              The leading dimension of the array A.  LDA >= max(1,N).
  76.  
  77.      IPIV    (input) INTEGER array, dimension (N)
  78.              The pivot indices from SGETRF; for 1<=i<=N, row i of the matrix
  79.              was interchanged with row IPIV(i).
  80.  
  81.      B       (input/output) REAL array, dimension (LDB,NRHS)
  82.              On entry, the right hand side matrix B.  On exit, the solution
  83.              matrix X.
  84.  
  85.      LDB     (input) INTEGER
  86.              The leading dimension of the array B.  LDB >= max(1,N).
  87.  
  88.      INFO    (output) INTEGER
  89.              = 0:  successful exit
  90.              < 0:  if INFO = -i, the i-th argument had an illegal value
  91.  
  92. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  93.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  94.  
  95.      This man page is available only online.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.